/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package org.taobao.ibatiside.model.mapperv2.impl;

import java.util.Collection;

import org.eclipse.emf.common.notify.NotificationChain;

import org.eclipse.emf.common.util.EList;

import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.InternalEObject;

import org.eclipse.emf.ecore.impl.EObjectImpl;

import org.eclipse.emf.ecore.util.BasicFeatureMap;
import org.eclipse.emf.ecore.util.FeatureMap;
import org.eclipse.emf.ecore.util.InternalEList;

import org.taobao.ibatiside.model.mapperv2.GeneralNestedStatement;
import org.taobao.ibatiside.model.mapperv2.Include;
import org.taobao.ibatiside.model.mapperv2.IsEmpty;
import org.taobao.ibatiside.model.mapperv2.IsEqual;
import org.taobao.ibatiside.model.mapperv2.IsGreaterEqual;
import org.taobao.ibatiside.model.mapperv2.IsGreaterThan;
import org.taobao.ibatiside.model.mapperv2.IsLessEqual;
import org.taobao.ibatiside.model.mapperv2.IsLessThan;
import org.taobao.ibatiside.model.mapperv2.IsNotEmpty;
import org.taobao.ibatiside.model.mapperv2.IsNotEqual;
import org.taobao.ibatiside.model.mapperv2.IsNotNull;
import org.taobao.ibatiside.model.mapperv2.IsNotParameterPresent;
import org.taobao.ibatiside.model.mapperv2.IsNotPropertyAvailable;
import org.taobao.ibatiside.model.mapperv2.IsNull;
import org.taobao.ibatiside.model.mapperv2.IsParameterPresent;
import org.taobao.ibatiside.model.mapperv2.IsPropertyAvailable;
import org.taobao.ibatiside.model.mapperv2.Iterate;
import org.taobao.ibatiside.model.mapperv2.Mapperv2Package;

/**
 * <!-- begin-user-doc -->
 * An implementation of the model object '<em><b>General Nested Statement</b></em>'.
 * <!-- end-user-doc -->
 * <p>
 * The following features are implemented:
 * <ul>
 *   <li>{@link org.taobao.ibatiside.model.mapperv2.impl.GeneralNestedStatementImpl#getMixed <em>Mixed</em>}</li>
 *   <li>{@link org.taobao.ibatiside.model.mapperv2.impl.GeneralNestedStatementImpl#getTgNestedCondition <em>Tg Nested Condition</em>}</li>
 *   <li>{@link org.taobao.ibatiside.model.mapperv2.impl.GeneralNestedStatementImpl#getInclude <em>Include</em>}</li>
 *   <li>{@link org.taobao.ibatiside.model.mapperv2.impl.GeneralNestedStatementImpl#getIterate <em>Iterate</em>}</li>
 *   <li>{@link org.taobao.ibatiside.model.mapperv2.impl.GeneralNestedStatementImpl#getIsParameterPresent <em>Is Parameter Present</em>}</li>
 *   <li>{@link org.taobao.ibatiside.model.mapperv2.impl.GeneralNestedStatementImpl#getIsNotParameterPresent <em>Is Not Parameter Present</em>}</li>
 *   <li>{@link org.taobao.ibatiside.model.mapperv2.impl.GeneralNestedStatementImpl#getIsEmpty <em>Is Empty</em>}</li>
 *   <li>{@link org.taobao.ibatiside.model.mapperv2.impl.GeneralNestedStatementImpl#getIsNotEmpty <em>Is Not Empty</em>}</li>
 *   <li>{@link org.taobao.ibatiside.model.mapperv2.impl.GeneralNestedStatementImpl#getIsNotNull <em>Is Not Null</em>}</li>
 *   <li>{@link org.taobao.ibatiside.model.mapperv2.impl.GeneralNestedStatementImpl#getIsNull <em>Is Null</em>}</li>
 *   <li>{@link org.taobao.ibatiside.model.mapperv2.impl.GeneralNestedStatementImpl#getIsNotEqual <em>Is Not Equal</em>}</li>
 *   <li>{@link org.taobao.ibatiside.model.mapperv2.impl.GeneralNestedStatementImpl#getIsEqual <em>Is Equal</em>}</li>
 *   <li>{@link org.taobao.ibatiside.model.mapperv2.impl.GeneralNestedStatementImpl#getIsGreaterThan <em>Is Greater Than</em>}</li>
 *   <li>{@link org.taobao.ibatiside.model.mapperv2.impl.GeneralNestedStatementImpl#getIsGreaterEqual <em>Is Greater Equal</em>}</li>
 *   <li>{@link org.taobao.ibatiside.model.mapperv2.impl.GeneralNestedStatementImpl#getIsLessThan <em>Is Less Than</em>}</li>
 *   <li>{@link org.taobao.ibatiside.model.mapperv2.impl.GeneralNestedStatementImpl#getIsLessEqual <em>Is Less Equal</em>}</li>
 *   <li>{@link org.taobao.ibatiside.model.mapperv2.impl.GeneralNestedStatementImpl#getIsPropertyAvailable <em>Is Property Available</em>}</li>
 *   <li>{@link org.taobao.ibatiside.model.mapperv2.impl.GeneralNestedStatementImpl#getIsNotPropertyAvailable <em>Is Not Property Available</em>}</li>
 * </ul>
 * </p>
 *
 * @generated
 */
public abstract class GeneralNestedStatementImpl extends EObjectImpl implements GeneralNestedStatement {
	/**
	 * The cached value of the '{@link #getMixed() <em>Mixed</em>}' attribute list.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #getMixed()
	 * @generated
	 * @ordered
	 */
	protected FeatureMap mixed;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected GeneralNestedStatementImpl() {
		super();
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	protected EClass eStaticClass() {
		return Mapperv2Package.Literals.GENERAL_NESTED_STATEMENT;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public FeatureMap getMixed() {
		if (mixed == null) {
			mixed = new BasicFeatureMap(this, Mapperv2Package.GENERAL_NESTED_STATEMENT__MIXED);
		}
		return mixed;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public FeatureMap getTgNestedCondition() {
		return (FeatureMap)getMixed().<FeatureMap.Entry>list(Mapperv2Package.Literals.GENERAL_NESTED_STATEMENT__TG_NESTED_CONDITION);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EList<Include> getInclude() {
		return getTgNestedCondition().list(Mapperv2Package.Literals.GENERAL_NESTED_STATEMENT__INCLUDE);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EList<Iterate> getIterate() {
		return getTgNestedCondition().list(Mapperv2Package.Literals.GENERAL_NESTED_STATEMENT__ITERATE);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EList<IsParameterPresent> getIsParameterPresent() {
		return getTgNestedCondition().list(Mapperv2Package.Literals.GENERAL_NESTED_STATEMENT__IS_PARAMETER_PRESENT);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EList<IsNotParameterPresent> getIsNotParameterPresent() {
		return getTgNestedCondition().list(Mapperv2Package.Literals.GENERAL_NESTED_STATEMENT__IS_NOT_PARAMETER_PRESENT);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EList<IsEmpty> getIsEmpty() {
		return getTgNestedCondition().list(Mapperv2Package.Literals.GENERAL_NESTED_STATEMENT__IS_EMPTY);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EList<IsNotEmpty> getIsNotEmpty() {
		return getTgNestedCondition().list(Mapperv2Package.Literals.GENERAL_NESTED_STATEMENT__IS_NOT_EMPTY);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EList<IsNotNull> getIsNotNull() {
		return getTgNestedCondition().list(Mapperv2Package.Literals.GENERAL_NESTED_STATEMENT__IS_NOT_NULL);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EList<IsNull> getIsNull() {
		return getTgNestedCondition().list(Mapperv2Package.Literals.GENERAL_NESTED_STATEMENT__IS_NULL);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EList<IsNotEqual> getIsNotEqual() {
		return getTgNestedCondition().list(Mapperv2Package.Literals.GENERAL_NESTED_STATEMENT__IS_NOT_EQUAL);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EList<IsEqual> getIsEqual() {
		return getTgNestedCondition().list(Mapperv2Package.Literals.GENERAL_NESTED_STATEMENT__IS_EQUAL);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EList<IsGreaterThan> getIsGreaterThan() {
		return getTgNestedCondition().list(Mapperv2Package.Literals.GENERAL_NESTED_STATEMENT__IS_GREATER_THAN);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EList<IsGreaterEqual> getIsGreaterEqual() {
		return getTgNestedCondition().list(Mapperv2Package.Literals.GENERAL_NESTED_STATEMENT__IS_GREATER_EQUAL);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EList<IsLessThan> getIsLessThan() {
		return getTgNestedCondition().list(Mapperv2Package.Literals.GENERAL_NESTED_STATEMENT__IS_LESS_THAN);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EList<IsLessEqual> getIsLessEqual() {
		return getTgNestedCondition().list(Mapperv2Package.Literals.GENERAL_NESTED_STATEMENT__IS_LESS_EQUAL);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EList<IsPropertyAvailable> getIsPropertyAvailable() {
		return getTgNestedCondition().list(Mapperv2Package.Literals.GENERAL_NESTED_STATEMENT__IS_PROPERTY_AVAILABLE);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EList<IsNotPropertyAvailable> getIsNotPropertyAvailable() {
		return getTgNestedCondition().list(Mapperv2Package.Literals.GENERAL_NESTED_STATEMENT__IS_NOT_PROPERTY_AVAILABLE);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
		switch (featureID) {
			case Mapperv2Package.GENERAL_NESTED_STATEMENT__MIXED:
				return ((InternalEList<?>)getMixed()).basicRemove(otherEnd, msgs);
			case Mapperv2Package.GENERAL_NESTED_STATEMENT__TG_NESTED_CONDITION:
				return ((InternalEList<?>)getTgNestedCondition()).basicRemove(otherEnd, msgs);
			case Mapperv2Package.GENERAL_NESTED_STATEMENT__INCLUDE:
				return ((InternalEList<?>)getInclude()).basicRemove(otherEnd, msgs);
			case Mapperv2Package.GENERAL_NESTED_STATEMENT__ITERATE:
				return ((InternalEList<?>)getIterate()).basicRemove(otherEnd, msgs);
			case Mapperv2Package.GENERAL_NESTED_STATEMENT__IS_PARAMETER_PRESENT:
				return ((InternalEList<?>)getIsParameterPresent()).basicRemove(otherEnd, msgs);
			case Mapperv2Package.GENERAL_NESTED_STATEMENT__IS_NOT_PARAMETER_PRESENT:
				return ((InternalEList<?>)getIsNotParameterPresent()).basicRemove(otherEnd, msgs);
			case Mapperv2Package.GENERAL_NESTED_STATEMENT__IS_EMPTY:
				return ((InternalEList<?>)getIsEmpty()).basicRemove(otherEnd, msgs);
			case Mapperv2Package.GENERAL_NESTED_STATEMENT__IS_NOT_EMPTY:
				return ((InternalEList<?>)getIsNotEmpty()).basicRemove(otherEnd, msgs);
			case Mapperv2Package.GENERAL_NESTED_STATEMENT__IS_NOT_NULL:
				return ((InternalEList<?>)getIsNotNull()).basicRemove(otherEnd, msgs);
			case Mapperv2Package.GENERAL_NESTED_STATEMENT__IS_NULL:
				return ((InternalEList<?>)getIsNull()).basicRemove(otherEnd, msgs);
			case Mapperv2Package.GENERAL_NESTED_STATEMENT__IS_NOT_EQUAL:
				return ((InternalEList<?>)getIsNotEqual()).basicRemove(otherEnd, msgs);
			case Mapperv2Package.GENERAL_NESTED_STATEMENT__IS_EQUAL:
				return ((InternalEList<?>)getIsEqual()).basicRemove(otherEnd, msgs);
			case Mapperv2Package.GENERAL_NESTED_STATEMENT__IS_GREATER_THAN:
				return ((InternalEList<?>)getIsGreaterThan()).basicRemove(otherEnd, msgs);
			case Mapperv2Package.GENERAL_NESTED_STATEMENT__IS_GREATER_EQUAL:
				return ((InternalEList<?>)getIsGreaterEqual()).basicRemove(otherEnd, msgs);
			case Mapperv2Package.GENERAL_NESTED_STATEMENT__IS_LESS_THAN:
				return ((InternalEList<?>)getIsLessThan()).basicRemove(otherEnd, msgs);
			case Mapperv2Package.GENERAL_NESTED_STATEMENT__IS_LESS_EQUAL:
				return ((InternalEList<?>)getIsLessEqual()).basicRemove(otherEnd, msgs);
			case Mapperv2Package.GENERAL_NESTED_STATEMENT__IS_PROPERTY_AVAILABLE:
				return ((InternalEList<?>)getIsPropertyAvailable()).basicRemove(otherEnd, msgs);
			case Mapperv2Package.GENERAL_NESTED_STATEMENT__IS_NOT_PROPERTY_AVAILABLE:
				return ((InternalEList<?>)getIsNotPropertyAvailable()).basicRemove(otherEnd, msgs);
		}
		return super.eInverseRemove(otherEnd, featureID, msgs);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Object eGet(int featureID, boolean resolve, boolean coreType) {
		switch (featureID) {
			case Mapperv2Package.GENERAL_NESTED_STATEMENT__MIXED:
				if (coreType) return getMixed();
				return ((FeatureMap.Internal)getMixed()).getWrapper();
			case Mapperv2Package.GENERAL_NESTED_STATEMENT__TG_NESTED_CONDITION:
				if (coreType) return getTgNestedCondition();
				return ((FeatureMap.Internal)getTgNestedCondition()).getWrapper();
			case Mapperv2Package.GENERAL_NESTED_STATEMENT__INCLUDE:
				return getInclude();
			case Mapperv2Package.GENERAL_NESTED_STATEMENT__ITERATE:
				return getIterate();
			case Mapperv2Package.GENERAL_NESTED_STATEMENT__IS_PARAMETER_PRESENT:
				return getIsParameterPresent();
			case Mapperv2Package.GENERAL_NESTED_STATEMENT__IS_NOT_PARAMETER_PRESENT:
				return getIsNotParameterPresent();
			case Mapperv2Package.GENERAL_NESTED_STATEMENT__IS_EMPTY:
				return getIsEmpty();
			case Mapperv2Package.GENERAL_NESTED_STATEMENT__IS_NOT_EMPTY:
				return getIsNotEmpty();
			case Mapperv2Package.GENERAL_NESTED_STATEMENT__IS_NOT_NULL:
				return getIsNotNull();
			case Mapperv2Package.GENERAL_NESTED_STATEMENT__IS_NULL:
				return getIsNull();
			case Mapperv2Package.GENERAL_NESTED_STATEMENT__IS_NOT_EQUAL:
				return getIsNotEqual();
			case Mapperv2Package.GENERAL_NESTED_STATEMENT__IS_EQUAL:
				return getIsEqual();
			case Mapperv2Package.GENERAL_NESTED_STATEMENT__IS_GREATER_THAN:
				return getIsGreaterThan();
			case Mapperv2Package.GENERAL_NESTED_STATEMENT__IS_GREATER_EQUAL:
				return getIsGreaterEqual();
			case Mapperv2Package.GENERAL_NESTED_STATEMENT__IS_LESS_THAN:
				return getIsLessThan();
			case Mapperv2Package.GENERAL_NESTED_STATEMENT__IS_LESS_EQUAL:
				return getIsLessEqual();
			case Mapperv2Package.GENERAL_NESTED_STATEMENT__IS_PROPERTY_AVAILABLE:
				return getIsPropertyAvailable();
			case Mapperv2Package.GENERAL_NESTED_STATEMENT__IS_NOT_PROPERTY_AVAILABLE:
				return getIsNotPropertyAvailable();
		}
		return super.eGet(featureID, resolve, coreType);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@SuppressWarnings("unchecked")
	@Override
	public void eSet(int featureID, Object newValue) {
		switch (featureID) {
			case Mapperv2Package.GENERAL_NESTED_STATEMENT__MIXED:
				((FeatureMap.Internal)getMixed()).set(newValue);
				return;
			case Mapperv2Package.GENERAL_NESTED_STATEMENT__TG_NESTED_CONDITION:
				((FeatureMap.Internal)getTgNestedCondition()).set(newValue);
				return;
			case Mapperv2Package.GENERAL_NESTED_STATEMENT__INCLUDE:
				getInclude().clear();
				getInclude().addAll((Collection<? extends Include>)newValue);
				return;
			case Mapperv2Package.GENERAL_NESTED_STATEMENT__ITERATE:
				getIterate().clear();
				getIterate().addAll((Collection<? extends Iterate>)newValue);
				return;
			case Mapperv2Package.GENERAL_NESTED_STATEMENT__IS_PARAMETER_PRESENT:
				getIsParameterPresent().clear();
				getIsParameterPresent().addAll((Collection<? extends IsParameterPresent>)newValue);
				return;
			case Mapperv2Package.GENERAL_NESTED_STATEMENT__IS_NOT_PARAMETER_PRESENT:
				getIsNotParameterPresent().clear();
				getIsNotParameterPresent().addAll((Collection<? extends IsNotParameterPresent>)newValue);
				return;
			case Mapperv2Package.GENERAL_NESTED_STATEMENT__IS_EMPTY:
				getIsEmpty().clear();
				getIsEmpty().addAll((Collection<? extends IsEmpty>)newValue);
				return;
			case Mapperv2Package.GENERAL_NESTED_STATEMENT__IS_NOT_EMPTY:
				getIsNotEmpty().clear();
				getIsNotEmpty().addAll((Collection<? extends IsNotEmpty>)newValue);
				return;
			case Mapperv2Package.GENERAL_NESTED_STATEMENT__IS_NOT_NULL:
				getIsNotNull().clear();
				getIsNotNull().addAll((Collection<? extends IsNotNull>)newValue);
				return;
			case Mapperv2Package.GENERAL_NESTED_STATEMENT__IS_NULL:
				getIsNull().clear();
				getIsNull().addAll((Collection<? extends IsNull>)newValue);
				return;
			case Mapperv2Package.GENERAL_NESTED_STATEMENT__IS_NOT_EQUAL:
				getIsNotEqual().clear();
				getIsNotEqual().addAll((Collection<? extends IsNotEqual>)newValue);
				return;
			case Mapperv2Package.GENERAL_NESTED_STATEMENT__IS_EQUAL:
				getIsEqual().clear();
				getIsEqual().addAll((Collection<? extends IsEqual>)newValue);
				return;
			case Mapperv2Package.GENERAL_NESTED_STATEMENT__IS_GREATER_THAN:
				getIsGreaterThan().clear();
				getIsGreaterThan().addAll((Collection<? extends IsGreaterThan>)newValue);
				return;
			case Mapperv2Package.GENERAL_NESTED_STATEMENT__IS_GREATER_EQUAL:
				getIsGreaterEqual().clear();
				getIsGreaterEqual().addAll((Collection<? extends IsGreaterEqual>)newValue);
				return;
			case Mapperv2Package.GENERAL_NESTED_STATEMENT__IS_LESS_THAN:
				getIsLessThan().clear();
				getIsLessThan().addAll((Collection<? extends IsLessThan>)newValue);
				return;
			case Mapperv2Package.GENERAL_NESTED_STATEMENT__IS_LESS_EQUAL:
				getIsLessEqual().clear();
				getIsLessEqual().addAll((Collection<? extends IsLessEqual>)newValue);
				return;
			case Mapperv2Package.GENERAL_NESTED_STATEMENT__IS_PROPERTY_AVAILABLE:
				getIsPropertyAvailable().clear();
				getIsPropertyAvailable().addAll((Collection<? extends IsPropertyAvailable>)newValue);
				return;
			case Mapperv2Package.GENERAL_NESTED_STATEMENT__IS_NOT_PROPERTY_AVAILABLE:
				getIsNotPropertyAvailable().clear();
				getIsNotPropertyAvailable().addAll((Collection<? extends IsNotPropertyAvailable>)newValue);
				return;
		}
		super.eSet(featureID, newValue);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public void eUnset(int featureID) {
		switch (featureID) {
			case Mapperv2Package.GENERAL_NESTED_STATEMENT__MIXED:
				getMixed().clear();
				return;
			case Mapperv2Package.GENERAL_NESTED_STATEMENT__TG_NESTED_CONDITION:
				getTgNestedCondition().clear();
				return;
			case Mapperv2Package.GENERAL_NESTED_STATEMENT__INCLUDE:
				getInclude().clear();
				return;
			case Mapperv2Package.GENERAL_NESTED_STATEMENT__ITERATE:
				getIterate().clear();
				return;
			case Mapperv2Package.GENERAL_NESTED_STATEMENT__IS_PARAMETER_PRESENT:
				getIsParameterPresent().clear();
				return;
			case Mapperv2Package.GENERAL_NESTED_STATEMENT__IS_NOT_PARAMETER_PRESENT:
				getIsNotParameterPresent().clear();
				return;
			case Mapperv2Package.GENERAL_NESTED_STATEMENT__IS_EMPTY:
				getIsEmpty().clear();
				return;
			case Mapperv2Package.GENERAL_NESTED_STATEMENT__IS_NOT_EMPTY:
				getIsNotEmpty().clear();
				return;
			case Mapperv2Package.GENERAL_NESTED_STATEMENT__IS_NOT_NULL:
				getIsNotNull().clear();
				return;
			case Mapperv2Package.GENERAL_NESTED_STATEMENT__IS_NULL:
				getIsNull().clear();
				return;
			case Mapperv2Package.GENERAL_NESTED_STATEMENT__IS_NOT_EQUAL:
				getIsNotEqual().clear();
				return;
			case Mapperv2Package.GENERAL_NESTED_STATEMENT__IS_EQUAL:
				getIsEqual().clear();
				return;
			case Mapperv2Package.GENERAL_NESTED_STATEMENT__IS_GREATER_THAN:
				getIsGreaterThan().clear();
				return;
			case Mapperv2Package.GENERAL_NESTED_STATEMENT__IS_GREATER_EQUAL:
				getIsGreaterEqual().clear();
				return;
			case Mapperv2Package.GENERAL_NESTED_STATEMENT__IS_LESS_THAN:
				getIsLessThan().clear();
				return;
			case Mapperv2Package.GENERAL_NESTED_STATEMENT__IS_LESS_EQUAL:
				getIsLessEqual().clear();
				return;
			case Mapperv2Package.GENERAL_NESTED_STATEMENT__IS_PROPERTY_AVAILABLE:
				getIsPropertyAvailable().clear();
				return;
			case Mapperv2Package.GENERAL_NESTED_STATEMENT__IS_NOT_PROPERTY_AVAILABLE:
				getIsNotPropertyAvailable().clear();
				return;
		}
		super.eUnset(featureID);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public boolean eIsSet(int featureID) {
		switch (featureID) {
			case Mapperv2Package.GENERAL_NESTED_STATEMENT__MIXED:
				return mixed != null && !mixed.isEmpty();
			case Mapperv2Package.GENERAL_NESTED_STATEMENT__TG_NESTED_CONDITION:
				return !getTgNestedCondition().isEmpty();
			case Mapperv2Package.GENERAL_NESTED_STATEMENT__INCLUDE:
				return !getInclude().isEmpty();
			case Mapperv2Package.GENERAL_NESTED_STATEMENT__ITERATE:
				return !getIterate().isEmpty();
			case Mapperv2Package.GENERAL_NESTED_STATEMENT__IS_PARAMETER_PRESENT:
				return !getIsParameterPresent().isEmpty();
			case Mapperv2Package.GENERAL_NESTED_STATEMENT__IS_NOT_PARAMETER_PRESENT:
				return !getIsNotParameterPresent().isEmpty();
			case Mapperv2Package.GENERAL_NESTED_STATEMENT__IS_EMPTY:
				return !getIsEmpty().isEmpty();
			case Mapperv2Package.GENERAL_NESTED_STATEMENT__IS_NOT_EMPTY:
				return !getIsNotEmpty().isEmpty();
			case Mapperv2Package.GENERAL_NESTED_STATEMENT__IS_NOT_NULL:
				return !getIsNotNull().isEmpty();
			case Mapperv2Package.GENERAL_NESTED_STATEMENT__IS_NULL:
				return !getIsNull().isEmpty();
			case Mapperv2Package.GENERAL_NESTED_STATEMENT__IS_NOT_EQUAL:
				return !getIsNotEqual().isEmpty();
			case Mapperv2Package.GENERAL_NESTED_STATEMENT__IS_EQUAL:
				return !getIsEqual().isEmpty();
			case Mapperv2Package.GENERAL_NESTED_STATEMENT__IS_GREATER_THAN:
				return !getIsGreaterThan().isEmpty();
			case Mapperv2Package.GENERAL_NESTED_STATEMENT__IS_GREATER_EQUAL:
				return !getIsGreaterEqual().isEmpty();
			case Mapperv2Package.GENERAL_NESTED_STATEMENT__IS_LESS_THAN:
				return !getIsLessThan().isEmpty();
			case Mapperv2Package.GENERAL_NESTED_STATEMENT__IS_LESS_EQUAL:
				return !getIsLessEqual().isEmpty();
			case Mapperv2Package.GENERAL_NESTED_STATEMENT__IS_PROPERTY_AVAILABLE:
				return !getIsPropertyAvailable().isEmpty();
			case Mapperv2Package.GENERAL_NESTED_STATEMENT__IS_NOT_PROPERTY_AVAILABLE:
				return !getIsNotPropertyAvailable().isEmpty();
		}
		return super.eIsSet(featureID);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public String toString() {
		if (eIsProxy()) return super.toString();

		StringBuffer result = new StringBuffer(super.toString());
		result.append(" (mixed: ");
		result.append(mixed);
		result.append(')');
		return result.toString();
	}

} //GeneralNestedStatementImpl
